from django.urls import path
from index.views import IndexView_template
from .views import ClassifView_template,DetailsView

urlpatterns = [
    # 分类页面
    path(
        'classification/',
         ClassifView_template.as_view(),
         name='classification'
         ),
    # 查询
    path(
        'classification/sencond=<str:sencond>/',
        ClassifView_template.as_view(),
        name='sencond'
    ),

    # 商品详情页路径
    path('classify/id=<int:pk>/',DetailsView.as_view(),name='details'),
]